package com.qiaofang.applet.service.other.domain;

import com.qiaofang.applet.common.base.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;
import java.util.Set;

/**
 * @author QF2019
 */
@Data
@Document(collection = "other_topic")
@ApiModel("主题表")
public class Topic extends BaseDomain {

    @ApiModelProperty("主题名称")
    private String topicName;

    @ApiModelProperty("主题标语")
    private String topicTitle;

    @ApiModelProperty("主题介绍")
    private String topicPresent;

    @ApiModelProperty("主题类型: 新房/二手房/租房")
    private String topicType;

    @ApiModelProperty("主题排序")
    private Integer topicSort;

    @ApiModelProperty("主题状态:下架/上架")
    private String topicStatus;

    @ApiModelProperty("小程序主题图片")
    private String imageUrl;

    @ApiModelProperty("PC主题图片")
    private String pcImageUrl;

    @ApiModelProperty("上/下架时间")
    private Date upDownDate;

    @ApiModelProperty("房源唯一UUID集合")
    Set<String> uniqueUuids;
}
